package com.lz.gamll.feign.user;

import com.lz.gmall.common.result.Result;
import com.lz.gmall.user.entity.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author 郭运龙
 */
@FeignClient("service-user")
public interface UserFeignClient {

    /**
     * 获取用户的订单地址
     * @return
     */
    @GetMapping(value = "api/inner/user/getAllUserAddress")
    public Result<List<UserAddress>> getAllUserAddress();
}
